﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace PrintTax
{
    [ComVisible(true)]
    [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
    [Guid("E2F47A33-6718-4E7C-B928-CB6169A2D805")]
    public interface IComPrint
    {
        [DispId(1)]
        bool Print(string businessName, string state, string detail, string time, string taxpayerName, string taxpayerNumber, string terminalId, string printerName, string templateFileName);

        [DispId(2)]
        string ErrMsg { get; }
    }

}
